/* 
 * File:   RemoteAdress.h
 * Author: niyaz
 *
 * Created on 20 Февраль 2011 г., 19:19
 */

#ifndef REMOTEADRESS_H
#define	REMOTEADRESS_H
#include <string>
using namespace std;

class RemoteAdress {
public:

    string protocol_name;
    string server_url;
    string username;
    string passwd;
    string mailbox;
    string adv_adr;

    bool auth;
    bool tls;
    bool ssl;
    bool if_adv_adr;
    int port;

    string getComplexString() {
        string s = protocol_name + "://" + username + ":" + passwd + "@" + server_url;
        return s;   }

};

#endif	/* REMOTEADRESS_H */

